package mapper;

import org.apache.ibatis.annotations.MapKey;
import org.apache.ibatis.annotations.Param;
import pojo.User;

import java.util.List;
import java.util.Map;

public interface SelectMapper {

    List<User> getUserById(@Param("id") Integer id);

    Integer getCount();

    Map<String,Object> getUserByIdMap(@Param("id") Integer id);

    @MapKey("id")
    Map<String,Object> getAllUserMap();
}
